.train {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow-y: auto;
}

.title {
  width: 100%;
  margin-top: 20rpx;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.title_content {
  width: 100%;
  margin-bottom: 40rpx;
  display: flex;
  justify-content: center;
  align-items: center;

  text {
    font-size: 24px;
    color: #333;
    line-height: 36px;
    padding-right: 6px;
  }

  image {
    width: 42rpx;
    height: 42rpx;
    margin-left: 6rpx;
  }
}

.selected {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  padding-bottom: 24rpx;
  border-bottom: 4rpx solid #dddddd;
}

.selected_content {
  width: 146rpx;
  height: 60rpx;
  margin-right: 8rpx;
  margin-bottom: 10rpx;
  border-radius: 8rpx;
  background: #dddddd;

  &.active {
    background-color: #fde9a1;
  }

  &.error {
    background-color: #a0a0a0;
  }

  .selected_button {
    width: 100%;
    height: 100%;
    font-size: 24rpx;
    color: #0091ea;
    font-weight: 700;
    line-height: 56rpx;
    text-align: center;

    &.disabled {
      color: #ffffff;
    }
  }
}

.word {
  width: 100%;
  margin-top: 28rpx;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.word_content {
  width: 146rpx;
  height: 60rpx;
  margin-right: 8rpx;
  margin-bottom: 10rpx;
  border-radius: 8rpx;
  background: #fde9a1;

  &.select {
    background-color: #fff;
    border: 2rpx solid #fde9a1;
  }

  .word_button {
    width: 100%;
    height: 100%;
    font-size: 24rpx;
    color: #0091ea;
    font-weight: 700;
    text-align: center;
    line-height: 56rpx;
  }
}

.result {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  .result_top {
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;

    image {
      width: 32rpx;
      height: 32rpx;
    }

    .error {
      font-size: 28rpx;
      color: #ff6600;
      padding: 0 8rpx;
    }

    .correct {
      font-size: 28rpx;
      color: #7de03b;
      padding: 0 8rpx;
    }
  }

  .result_bottom {
    width: 100%;
    margin-top: 24rpx;
    font-size: 32rpx;
    color: #0089e9;
    line-height: 44rpx;
  }
}

.fixed {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.info {
  width: auto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;

  .progress {
    width: auto;
    padding: 0 8rpx;
    display: flex;
    justify-content: flex-start;
    align-items: center;

    text {
      &:nth-child(1) {
        font-size: 32rpx;
        color: #0091ea;
      }

      &:nth-child(2) {
        font-size: 32rpx;
        color: #999;
      }
    }
  }
}

.button {
  width: 100%;
  margin-top: 40rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .button_content {
    width: 204rpx;
    height: 56rpx;
    border: 0;
    border-radius: 28rpx;
    display: flex;
    justify-content: center;
    align-items: center;

    &.prev {
      background: url(https://hengxiao-resource.oss-cn-hangzhou.aliyuncs.com/web/resources/images/app/button_bg1.png) center/cover no-repeat scroll;

      text {
        font-size: 28rpx;
        color: #0091ea;
        font-weight: 700;
      }

      image {
        width: 28rpx;
        margin-left: 20rpx;
        margin-right: 0;
      }
    }

    &.next {
      background: url(https://hengxiao-resource.oss-cn-hangzhou.aliyuncs.com/web/resources/images/app/button_bg1.png) center/cover no-repeat scroll;

      text {
        font-size: 28rpx;
        color: #0091ea;
        font-weight: 700;
      }

      image {
        width: 28rpx;
        margin-left: 20rpx;
        margin-right: 0;
      }
    }

    &.submit {
      background: url(https://hengxiao-resource.oss-cn-hangzhou.aliyuncs.com/web/resources/images/app/button_bg2.png) center/cover no-repeat scroll;

      text {
        font-size: 28rpx;
        color: #ffffff;
        font-weight: 700;
      }
    }

    &.reselection {
      background: url(https://hengxiao-resource.oss-cn-hangzhou.aliyuncs.com/web/resources/images/app/button_bg3.png) center/cover no-repeat scroll;

      text {
        font-size: 28rpx;
        color: #0091ea;
        font-weight: 700;
      }
    }

    &.remove {
      background: url(https://hengxiao-resource.oss-cn-hangzhou.aliyuncs.com/web/resources/images/app/button_bg5.png) center/cover no-repeat scroll;

      text {
        font-size: 28rpx;
        color: #fff;
        font-weight: 700;
      }
    }

    &.disabled {
      background: #999;
    }
  }
}

.default {
  width: 100%;
  height: 100%;
  padding-top: 40rpx;
  display: flex;
  justify-content: center;
  align-items: center;

  span {
    font-size: 48rpx;
    color: #999;
  }
}